<load href="__JS__/artDialog/jquery.artDialog.js" />
<link href="__JS__/artDialog/skins/idialog.css" rel="stylesheet" type="text/css" />
<script>
    $(function(){
        $('.view-content').click(function(){
            var id = $(this).attr('id');
            art.dialog({
            follow: document.getElementById(id),
            content: document.getElementById('content_'+id),
            lock: true,
            id: 'EF893L'+id
        });
        });
    })
</script>
<div class="row-fluid">

    <div class="span12">
        
        <div style="clear: both" ></div>
        <div class="box">
            <div data-original-title="" class="box-header well">
                <h2><i class="icon-book"></i> {$pagetitle}</h2>

            </div>
            <div class="box-content">
                <div class="table_box">
                    <form id="filterbox" action="__URL__" method="GET" class="form-inline well well-small" >
                        <div class="controls controls-row">
                            <input class="span2" placeholder="{$Think.lang.common_keyword}" type="text" name="keyword" value="<notempty  name="keyword">{$keyword}</notempty>">
                            &nbsp;&nbsp;
                            <button class="btn btn-primary btn-submit" type="submit"><i class="icon-zoom-in icon-white"></i> {$Think.lang.common_search}</button>
                         
                        </div>



                    </form>
                </div>
                <table class="table table-striped table-condensed table-bordered">
                    <thead>
                        <tr>
<!--                            <th>ID</th>-->
                            <th>{$Think.lang.common_email}</th>
                            <th>{$Think.lang.common_apply_name}</th>
                            <th>{$Think.lang.common_career_title}</th>
                            <th>{$Think.lang.common_telephone}</th>
                            <th>{$Think.lang.common_apply_ipaddress}</th>
                            <th>{$Think.lang.common_create_at}</th>
                            <th>{$Think.lang.common_is_new}</th>
                            <th>{$Think.lang.common_option}</th>
                        </tr>
                    </thead>   
                    <tbody>
                    <volist name="rows" id="row">
                        <tr>
<!--                            <td><input type="checkbox" name="ids[]" value="{$row.article_id}" /></td>-->
                            <td>{$row.email}</td>
                            <td>{$row.username}</td>
                            <td>{$row.career}</td>
                            <td>{$row.telephone}</td>
                            <td>{$row.ipaddress}</td>
                            <td>{$row.create_at}</td>
                            <td>{$row.news|showNews}</td>

                            <td>
                                <a title="Edit" class="btn btn-info btn-small view-content" id="{$row.apply_id}">
                                    <i class="icon-zoom-in icon-white"></i>
                                </a>
                                <div id="content_{$row.apply_id}" style="display: none;">
                                    {$row.content}
                                </div>
                            </td>
                        </tr>
                    </volist>


                    </tbody>
                </table> 
            </div>
        </div>
    </div>
</div>
{$page}
